package com.wd.tech.contreantert;

import com.wd.tech.base.IBaseView;
import com.wd.tech.bean.BeannerBean;

/**
 * @author 时文豪
 * @description:契约类
 * @date :2020/7/2 15:43
 */
public interface Contreatnert {
    //V层代码
    interface IView extends IBaseView {
        void BannerSuccess(BeannerBean bean);
    }
    //P层代码
    interface IPreantert{
        void OnSuccess();
    }
    //M层代码
    interface IModel{
        void OnSuccess(MyBeannerCoallack coallack);
        interface MyBeannerCoallack{
            void BannerSuccess(BeannerBean bean);
        }
    }
}
